<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* *{
          color: red;
        } */
        .box {
            color: red;
            font-size: 30px;
            font-weight: 700;
            font-style: italic;
            text-indent: 50px;
            text-align: right;
            line-height: 80px;
        }
    </style>
</head>

<body>
<div class="box">
    <div>
        前端
        <div>html</div>
    </div>
    <div>后端</div>
    <div>测试</div>
</div>
</body>

</html>